package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityBrand;
import com.ecoolex.ying.space.entity.EstateProjectActivityBrandExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityBrandMapper {
    long countByExample(EstateProjectActivityBrandExample example);

    int deleteByExample(EstateProjectActivityBrandExample example);

    int deleteByPrimaryKey(Integer brandId);

    int insert(EstateProjectActivityBrand record);

    int insertSelective(@Param("record") EstateProjectActivityBrand record, @Param("selective") EstateProjectActivityBrand.Column ... selective);

    EstateProjectActivityBrand selectOneByExample(EstateProjectActivityBrandExample example);

    List<EstateProjectActivityBrand> selectByExample(EstateProjectActivityBrandExample example);

    EstateProjectActivityBrand selectByPrimaryKey(Integer brandId);

    EstateProjectActivityBrand selectByPrimaryKeyWithLogicalDelete(@Param("brandId") Integer brandId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityBrand record, @Param("example") EstateProjectActivityBrandExample example, @Param("selective") EstateProjectActivityBrand.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityBrand record, @Param("example") EstateProjectActivityBrandExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityBrand record, @Param("selective") EstateProjectActivityBrand.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityBrand record);

    int batchInsert(@Param("list") List<EstateProjectActivityBrand> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityBrand> list, @Param("selective") EstateProjectActivityBrand.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityBrandExample example);

    int logicalDeleteByPrimaryKey(Integer brandId);
}